package com.zzptc.zzsgz.bdsjws.fragments;

import android.graphics.drawable.AnimationDrawable;
import android.widget.ImageView;
import com.zzptc.zzsgz.bdsjws.R;
import com.zzptc.zzsgz.bdsjws.fragments.base.BaseFragmentbase;
import butterknife.BindView;

/**
 * Created by Administrator on 2017/6/14 0014.
 */


public class ThreeSOSFragment extends BaseFragmentbase{
    @BindView(R.id.iv_animation)
    ImageView imageView;

    @Override
    public int getXML() {
        return R.layout.sos;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

        imageView.setBackgroundResource(R.drawable.sossuccess);
        AnimationDrawable animationDrawable= (AnimationDrawable) imageView.getBackground();
        animationDrawable.start();
    }
}
